﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Register assembly="Devart.Data.MySql.Web, Version=6.10.141.0, Culture=neutral, PublicKeyToken=09af7300eec23701" namespace="Devart.Data.MySql.Web" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void SqlDataSource1_Load(object sender, EventArgs e)
    {
        // http://support.microsoft.com/kb/307860
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Agenda</title>
</head>
<body style="height: 224px">
    <form id="form1" runat="server">
    <div>
    <h2>Agenda Items</h2>
        <asp:FormView ID="FormView1" runat="server" BackColor="LightGoldenrodYellow" 
            BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black">
            <EditRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
            <EmptyDataTemplate>
                No data available
            </EmptyDataTemplate>
            <FooterStyle BackColor="Tan" />
            <HeaderStyle BackColor="Tan" Font-Bold="True" />
            <ItemTemplate>
                Item template
            </ItemTemplate>
            <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                HorizontalAlign="Center" />
        </asp:FormView>    
        <asp:DetailsView ID="DetailsView1" runat="server" BackColor="#DEBA84" 
            BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
            CellSpacing="2" Height="50px" Width="125px">
            <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
            <EmptyDataTemplate>
                No data available
            </EmptyDataTemplate>
            <Fields>
                <asp:BoundField />
            </Fields>
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
            <PagerTemplate>
                PagerTemplate
            </PagerTemplate>
            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
        </asp:DetailsView>
    </div>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:kuppensvoetbalConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:kuppensvoetbalConnectionString.ProviderName %>" 
        SelectCommand="SELECT * FROM agenda" onload="SqlDataSource1_Load"></asp:SqlDataSource>
    </form>
</body>
</html>
